﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Practice_DotNet.EFCore
{
    [DbConfigurationType(typeof(MySql.Data.EntityFramework.MySqlEFConfiguration))]
    internal class MyDbContext:DbContext
    {
        public DbSet<UserInfoModelForEFCore> userInfosDbSet { get; set; }
        private const string connectstr = "Server=localhost;Port=3306;Database=localhosttestdb;User ID=root;Password=;SslMode=None;";
        public MyDbContext():base(connectstr)       
        {
            
        }
        
    }
}
